//

typedef void (^NetCompletionBlock)(NSError *error);

typedef void (^NetResponseCompletionBlock)(NSURLSessionDataTask *task, NSDictionary* responseJson, NSError *error);

typedef void (^NetFileDownloadCompletionBlock) (NSURLResponse *response, NSURL *filePath, NSError *error);

typedef void (^NetFileUploadCompletionBlock) (NSURLResponse *response, id responseObject, NSError *error);

typedef void (^NetResponseSuccessBlock)(NSDictionary*  responseJson);

typedef void (^NetBooleanCompletionBlock)(BOOL result, NSError *error);

typedef void (^NetObjectCompletionBlock)(id object, NSError *error);

typedef void (^NetArrayCompletionBlock)(NSArray *collection, NSError *error);

typedef void (^CommonBlock)(void);

typedef void (^NetNickCompletionBlock)(NSString *nickName);

